home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / plain / contrib / samples / boxit.tex < prev    next >
Encoding:
Text File  |  1989-11-22  |  490 b   |  14 lines

  1. %
  2. % BOXIT
  3. %
  4. % Use \boxit{ text } to surround text / paragraphs / anything in a
  5. %         box. For example, typing \boxit{the} would produce
  6. %                            +---+
  7. %                            |the|
  8. %                            +---+
  9. %         (you may want to use \strut inside the argument if the
  10. %         boxit is on a line by itself).
  11. %
  12. \def\boxit#1{\leavevmode\hbox{\vrule\vtop{\vbox{\kern.33333pt\hrule
  13.     \kern1pt\hbox{\kern1pt\vbox{#1}\kern1pt}}\kern1pt\hrule}\vrule}}
  14.